package com.kaigejava.javanotebook.threaddemo;

/**
 * @author kaigejava
 * 线程实现的第二种方式(无返回值)
 */
public class ImplRunnbleDemo implements  Runnable {
    @Override
    public void run() {
        System.out.println("=====running===");
    }

    public static void main(String[] args) {
        Thread thread = new Thread(new ImplRunnbleDemo());
        thread.start();
    }
}
